'use strict';
// 获取数据库
const db = uniCloud.database();
// 获取集合
const collection = db.collection('collection_banner');
exports.main = async (event, context) => {
	//返回数据给客户端
	return 	await collection.get()
};
